<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class CompanyArticle extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'company_articles';
    public $timestamps = false;
    protected $fillable = [
      "description","content"
    ];
    public function companyArticleTypes(){
        //
        return $this->belongsTo(CompanyArticleType::class,"type");
    }
}
